package com.dm.cloud.images.mode.fileupload;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description ="配置管理模型")
@Data
public class FileMode {

    @Schema(description = "文件名")
    public String fileName;

    @Schema(description = "文件全路径")
    public String filePath;

    @Schema(description = "父级目录路径")
    public String parentDir;

    @Schema(description = "文件大小")
    public Long fileSize;

    @Schema(description = "是否为文件,不是文件就是附件")
    public Boolean isFile;

}
